// 指针特别灵活
// 两部分内容
export default class Node<T>{
    element:T;
    next:Node<T> | undefined;
    constructor(element:T,next?:Node<T>){
        this.element=element;
        this.next=next;
    }
}